runtime/internal/atomic.Uint64.Add (method)
5 uses
runtime/internal/atomic (current package)
types.go#L258: func (u *Uint64) Add(delta int64) uint64 {
runtime
mgcsweep.go#L493: mheap_.pagesSwept.Add(int64(s.npages))
mheap.go#L769: idx := uintptr(h.reclaimIndex.Add(pagesPerReclaimerChunk) - pagesPerReclaimerChunk)
mheap.go#L1325: h.pagesInUse.Add(int64(npages))
mheap.go#L1476: h.pagesInUse.Add(-int64(s.npages))
The pages are generated with Golds v0.4.9. (GOOS=linux GOARCH=amd64)